package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: T-bao
 * @Date: 2021-4-22 11:03
 * @Description:
 */
@Data
@TableName(value = "dictionary",resultMap = "dictionary")
public class Dictionary implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;          //ID
    @TableField("name")
    private String name;      //name
    private String code;   //code
    @TableField("type")
    private String type;      //type
    @TableField("is_show")
    private Integer is_show;        //is_show

    private String value;      //字典值
}
